<html>
<head><meta charset="utf-8"><title>msrv · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html">msrv</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="233234933"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/233234933" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#233234933">(Apr 05 2021 at 21:36)</a>:</h4>
<p>I was reading future work part of a RFC at <a href="https://github.com/rust-lang/rfcs/blob/master/text/2495-min-rust-version.md#influencing-version-resolution">https://github.com/rust-lang/rfcs/blob/master/text/2495-min-rust-version.md#influencing-version-resolution</a> and I was wondering if the recent <code>resolver=2</code> work took the rust value into consideration as another variable. <span class="user-mention" data-user-id="120179">@Eh2406</span> You were the one working on it, right?</p>



<a name="233238507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/233238507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#233238507">(Apr 05 2021 at 22:11)</a>:</h4>
<p>the rust version is not in the index, so the resolver cannot consider it.</p>



<a name="234066594"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234066594" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234066594">(Apr 11 2021 at 18:43)</a>:</h4>
<p>If we want to use the MSRV when resolving features, I guess first the rust version needs to be stored in index and then resolver algo needs to consider it as a variable.</p>



<a name="234066784"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234066784" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234066784">(Apr 11 2021 at 18:46)</a>:</h4>
<p>Yes, and we need to figure out how to get intelligible error messages for when things don't build because there is no version of a dependency that works with the Rust you have installed.</p>



<a name="234066836"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234066836" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234066836">(Apr 11 2021 at 18:47)</a>:</h4>
<p>The Resolver's error message are famously bad.</p>



<a name="234067050"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234067050" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234067050">(Apr 11 2021 at 18:51)</a>:</h4>
<p>The only plan I have for getting good error messages is to get PubGrub to the point where it can replace the current Resolver.</p>



<a name="234085167"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234085167" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pksunkara <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234085167">(Apr 11 2021 at 23:36)</a>:</h4>
<p><code>resolver=2</code> is pub grub, right?</p>



<a name="234089645"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234089645" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234089645">(Apr 12 2021 at 00:58)</a>:</h4>
<p>No, <a href="https://github.com/pubgrub-rs/pubgrub">https://github.com/pubgrub-rs/pubgrub</a></p>



<a name="234089651"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234089651" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eh2406 <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234089651">(Apr 12 2021 at 00:58)</a>:</h4>
<p>Sorry for not providing link earlier.</p>



<a name="234096510"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/msrv/near/234096510" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/msrv.html#234096510">(Apr 12 2021 at 02:59)</a>:</h4>
<p>cc <a href="#narrow/stream/246057-t-cargo/topic/PubGrub.20algorithm.20discussion">https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/PubGrub.20algorithm.20discussion</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>